Manager: Text Services Manager
Carbon will support nearly all Text Services Manager functions. The exceptions are those functions, such as NewServiceWindow and CloseServiceWindow, used to create and manage floating utility windows. If you have a TSM component that uses floating utility windows, you should replace these functions with equivalent Mac OS 8.5 Window Manager functions, which offer more complete support for creating and managing floating windows.
For example, instead of the NewServiceWindow function, you can use the Window Manager function CreateNewWindow, and specify either kFloatingWindowClass or kUtilityWindowClass.
Likewise, use DisposeWindow insteaad of CloseServiceWindow, GetFrontWindowOfClass instead of GetFrontServiceWindow, and FindWindowOfClass instead of FindServiceWindow.
In addition, it is possible that TSMEvent, TSMMenuSelect, and SetTSMCursor will no longer need to be called, and therefore may not be available. This is still under investigation.
ActivateTextService
ActivateTSMDocument
CloseServiceWindow
You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, you should replace calls to CloseServiceWindow with calls to the Window Manager function DisposeWindow.
CloseTextService
CloseTSMAwareApplication
Not needed in Mac OS X due to the new event model.
DeactivateTextService
DeactivateTSMDocument
DeleteTSMDocument
FindServiceWindow
You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, you should replace calls to FindServiceWindow with calls to the Window Manager function FindWindow.
FixTextService
FixTSMDocument
GetDefaultInputMethod
GetFrontServiceWindow
You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, replace calls to GetFrontServiceWindow with calls to the Window Manager function FrontWindow.
GetScriptLanguageSupport
GetServiceList
GetTextServiceLanguage
GetTextServiceMenu
GetTextServiceProperty
HidePaletteWindows
InitiateTextService
InitTSMAwareApplication
Not needed in Mac OS X due to the new event model.
NewCServiceWindow
Replace calls to NewCServiceWindow in your component with calls to Mac OS 8.5 Window Manager creation functions, such as CreateNewWindow, which offer more complete support for floating windows.
NewServiceWindow
Replace calls to NewServiceWindow in your component with calls to Mac OS 8.5 Window Manager creation functions, such as CreateNewWindow, which offer more complete support for floating windows.
NewTSMDocument
OpenTextService
SendAEFromTSMComponent
SetDefaultInputMethod
SetTextServiceCursor
SetTextServiceLanguage
SetTextServiceProperty
SetTSMCursor
Not needed in Mac OS X due to the new event model.
TerminateTextService
TextServiceEvent
TextServiceMenuSelect
TSMEvent
Not needed in Mac OS X due to the new event model.
TSMMenuSelect
Not needed in Mac OS X due to the new event model.
UCTextServiceEvent
UseInputWindow
[Table of Contents] [Manager Index] [Function Index]
Generated on: 7/7/99. Copyright 1999 Apple Computer, Inc. All rights reserved.